
public class TvDemo {

	public static void main(String[] args) {
		//Instating new object TV
		
		Tv samsung = new Tv();
		
		samsung.start();
		
		//Calling the method changeChannal.
		
		String tvInput = samsung.changeChannel(1, "Input 1");
		System.out.println(" You are watching channel:"+tvInput);
		
		//Calling the method recProgram
		 samsung.recProgram("ON",4);

		
	}

}
